home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8862 < prev    next >
Encoding:
Text File  |  1996-08-05  |  892 b   |  26 lines

  1. Newsgroups: comp.lang.c++
  2. Path: in2.uu.net!utcsri!utnut!nott!emr1!jagrant
  3. From: jagrant@emr1.emr.ca (John Grant)
  4. Subject: Re: ListBox help
  5. Message-ID: <DnEw1F.F8D@emr1.emr.ca>
  6. Organization: Energy, Mines, and Resources, Ottawa
  7. References: <31321635.72CA@hiwaay.net>
  8. Date: Tue, 27 Feb 1996 01:56:03 GMT
  9.  
  10. In article <31321635.72CA@hiwaay.net> Lance Perry <lperry@hiwaay.net> writes:
  11. >I am using MS Visual C++ 1.5. 
  12. >
  13. >There is a message 'LBN_DBLCLK' that catches the Double-Click.
  14. >
  15. >Is there a way to program for the event of a Single-Click?
  16.     A single click corresponds to a 'selection', so you can look for
  17.     LBN_SELCHANGE.
  18.  
  19.     Note that LBN_SELCHANGE doesn't always represent a single click.
  20.     If you move the cursor up/down in a multiple-selection listbox,
  21.     you will also receive LBN_SELCHANGE.
  22. -- 
  23. John A. Grant                        jagrant@emr1.emr.ca
  24. Airborne Geophysics
  25. Geological Survey of Canada, Ottawa
  26.